package com.yzfarm.biujoke.biujoke.mvp.model.http;

import com.yzfarm.biujoke.biujoke.mvp.model.bean.Star12Day;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by han on 2016/1/3.
 */
public interface Star12Apis {

    public  static final String API_URL = "http://web.juhe.cn:8080";

    @Headers("Cache-Control: max-age=640000")
    @GET("/constellation/getAll")
    Observable<Star12Day> getConstellationToday(@Query("key") String key, @Query("consName") String consName, @Query("type") String type);

}
